package com.aipp.mall.h5.domain.entity;

import com.aipp.mall.common.anno.Note;
import com.aipp.mall.common.model.BaseAudit;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单售后对象 oms_aftersale_item
 *
 * @author zcc
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("oms_aftersale_item")
public class AfterSaleItem extends BaseAudit implements Serializable {

    @Serial
    private static final long serialVersionUID = -5997329031195041963L;

    @Note("ID")
    private Long id;

    @Note("MEMBER_ID")
    private Long memberId;

    @Note("售后单id")
    private Long aftersaleId;

    @Note("订单id")
    private Long orderId;

    @Note("子订单id")
    private Long orderItemId;

    @Note("退款金额")
    private BigDecimal returnAmount;

    @Note("退货数量")
    private Integer quantity;

}
